package com.dymall.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * 关联的时yaml文件中的jwt配置信息
 *  auth:
 *    excludePaths:
 *      - /search/**
 *      - /users/login
 *      - /items/**
 *  配置拦截器放行的请求路径
 */
@Data
@ConfigurationProperties(prefix = "hm.auth")
public class AuthProperties {
    private List<String> includePaths; //拦截路径
    private List<String> excludePaths; //放行路径
}
